package com.sandu.network.service;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Url;

/**
 * Created by Clark on 2022/11/15.
 */

public interface DynamicApiService<T> {

    @GET
    Observable<ResponseBody> getDynamicData(@Url String fullUrl);


    @GET("index")
    Observable<ResponseBody> getTestData(@Url String fullUrl, @Query("type") String type, @Query("page") int page);
}
